//
//  NSArray+JPNetworkingMethods.m
//  JPWords
//
//  Created by 梁淑婷 on 2024/4/20.
//

#import "NSArray+JPNetworkingMethods.h"

@implementation NSArray (JPNetworkingMethods)

/** 数组变json */
- (NSString *)JP_jsonString{
    NSData *jsonData = [NSJSONSerialization dataWithJSONObject:self options:NSJSONWritingPrettyPrinted error:NULL];
    return [[NSString alloc] initWithData:jsonData encoding:NSUTF8StringEncoding];
}

@end
